package com.crm.miaohe.controller.order.request;

import com.crm.miaohe.controller.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
public class OrderQueryRequest extends PageRequest {
    private String customerName;
    private String bizName;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date start;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date end;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date deliveryStart;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date deliveryEnd;
    private Integer status;
    private List<String> wuliuCode;
    private String erpOrderNo;

    private List<String> organizationCondition;

    private String organizationCode;
    private String customerTypeCode;
    private String customerTypeChildCode;

    private Long orderId;
}
